Display screen or portion thereof with icon



FIG. 1 is a front view of a display screen or portion thereof with icon showing our new design in accordance with a first embodiment; and,

FIG. 2 is a front view of a display screen or portion thereof with icon showing our new design in accordance with a second embodiment.

The outermost set of broken lines and the broken line showing of geometric shapes illustrate an electronic device, the broken line at the periphery of the figure illustrates the display screen or portion thereof, and the remaining broken lines illustrate portions of a graphical user interface. None of the broken lines form part of the claimed design.

The gray scale shading shown in FIG. 2 illustrates contrast in appearance. 

CLAIM The ornamental design for display screen or portion thereof with icon, as shown and described. 